package com.qianying.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianying.entity.CustomerInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CustomerInfoMapper extends BaseMapper<CustomerInfo> {
    // 继承BaseMapper已包含基本CRUD方法
    // 如需自定义方法可在此添加
    @Select("SELECT * FROM customer WHERE 1 ORDER BY id ASC")
    List<CustomerInfo> selectAll();
}